package org.example.aidemo.pojo;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Order {
    private String id;
    private String name;
    private String username;
    private String address;
    private LocalDateTime createTime;
    /**
     * state 为1订单有效
     *         0订单无效
     */
    private String state;
    // Getters and Setters
    public String getState() {
        return state;
    }
    public void setState(String statu) {
        this.state = statu;
    }
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

}
